#ifndef __PAINTINGCLASS_H__
#define __PAINTINGCLASS_H__

#include <Arduino.h>
#include <FastLED.h>
#include <btMusicBox.h>
#include <chrono>  //C++时间戳
#include "dot2d.h"
#include "painting/MusicLyrics/MusicLyrics.h"
#include "painting/MusicSpectrum/MusicSpectrum.h"

#define paintingclass     dot2d::Director
#define painting          director

//LED矩阵宽
#define MATRIX_WIDTH           48
//LED矩阵高
#define MATRIX_HEIGHT          16
//屏幕最大亮度
#define MATRIX_MAX_BRIGHTNESS  15

extern dot2d::Director* director;
void attendpaintingclass(void);
void audioLyricsupdate(uint16_t duration);

#endif

